/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using JDCloudSDK.Core.Annotation;

namespace JDCloudSDK.Waf.Model
{

    /// <summary>
    ///  getChartReq
    /// </summary>
    public class GetChartReq
    {

        ///<summary>
        /// 实例id，代表要查询的WAF实例，为空时表示当前用户下的所有实例
        ///</summary>
        public string WafInstanceId{ get; set; }
        ///<summary>
        /// 域名，为空时表示当前实例下的所有域名
        ///</summary>
        public string Domain{ get; set; }
        ///<summary>
        /// 开始时间戳，单位秒，时间间隔要求大于5分钟，小于30天。
        ///Required:true
        ///</summary>
        [Required]
        public int Start{ get; set; }
        ///<summary>
        /// 结束时间戳，单位秒，时间间隔要求大于5分钟，小于30天。
        ///Required:true
        ///</summary>
        [Required]
        public int End{ get; set; }
        ///<summary>
        /// true表示和值图，false表示均值图，仅getBpsData， getQpsData时有效。
        ///</summary>
        public bool IsSum{ get; set; }
        ///<summary>
        /// true表示查找命中不同规则的waf攻击对应数目。
        ///</summary>
        public bool IsWafRule{ get; set; }
        ///<summary>
        /// true表示源站返回给waf的异常响应，false表示waf返回给客户端的异常响应，仅getExceptionData时有效。
        ///</summary>
        public bool IsRs{ get; set; }
        ///<summary>
        /// ua表示返回ua的饼图数据，仅getPieChart时有效。
        ///</summary>
        public string PieItem{ get; set; }
        ///<summary>
        /// 指定状态码，仅getStatusCodeInfo时有效
        ///</summary>
        public List<string> StatusCode{ get; set; }
        ///<summary>
        /// true表示获取状态码统计图、占比图。
        ///</summary>
        public bool IsStaCode{ get; set; }
    }
}
